from microbit import *

while True:
    T = temperature()
    display.scroll(str(T))
    sleep(1000)
